import request from "../utils/request";
export const getActivityListAPI=(params)=>{
    return request({
        url:'/activity/getActivityList',
        method:'get',
        params:params
    })
};
export const getNoJoinActivityAPI=(params)=>{
    return request({
        url:'/activity/noJoinActivity',
        method:'put',
        data:params
    })
};
export const getJoinActivityAPI=(params)=>{
    return request({
        url:'/activity/joinActivity',
        method:'put',
        data:params
    })
};
export const AddActivityAPI=(params)=>{
    return request({
        url:'/activity/addActivity',
        method:'post',
        data:params
    })
};
